package com.aboverock.module.system.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * The Class RestUrl.
 *
 * @author Rock Wang
 */
public class RestUrl {
    private String url;

    private String method;

    @JsonIgnore
    private String permissions;

    @JsonIgnore
    private String className;

    private String description;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getPermissions() {
        return permissions;
    }

    public void setPermissions(String permissions) {
        this.permissions = permissions;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "RestUrl{" 
                + "url=" + url 
                + ", method=" + method 
                + ", permissions=" + permissions
                + ", className=" + className
                + ", description=" + description
                + "}";
    }
}
